{# (C) Copyright 2011 Jose Carrasco
<jose.carrasco [a]vikuit.com> This file is part of
"vikuit". "vikuit" is free software: you can redistribute it and/or
modify it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version. "vikuit" is distributed
in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU Affero General Public License for more details. You
should have received a copy of the GNU Affero General Public License
along with "vikuit". If not, see <http: //www.gnu.org/licenses />. #} {%
extends "includes/vikuitlet/base.html" %} {% block javascript %} {%
endblock %} {% block vikuitlet_title %} {{ _('Log in') }} {% endblock %}

{% block vikuitlet_content %}
<form enctype="multipart/form-data" accept-charset="utf-8" method="post"
	action="/module/user.login">
	<input type="hidden" name="redirect_to" value="{{ redirect }}" /> <label>{{
		_('User') }}:<br /> <input type="text" id="nickname" name="nickname"
		value="" class="login-textarea" />
	</label><br /> <label>{{ _('Password') }}:<br /> <input
		type="password" id="password" name="password" value=""
		class="login-textarea" /></label><br />
	<div id="persistent_login">
		<label><input type="checkbox" name="remember" value="remember" />{{
			_('Stay signed in') }}</label>
	</div>
	<input type="submit" value="{{ _('Start session') }}" /> <br />

</form>


<a href="/module/user.glogin?redirect_to={{ redirect }}"
	title="{{ _('User must be registered in %s')|format('Google') }}">{{_('Sign in with your Google account') }}</a>
<br />
<a href="/module/user.register?redirect_to={{ redirect }}">{{_('Register new user') }}</a> <br />
<a href="/module/user.forgotpassword?redirect_to={{ redirect }}">{{	_('Forgot password?') }}</a>
{% endblock %} 